package main

import "fmt"

func main() {

	var a int = 21
	var b int = 10
	var c int

	c = a + b
	fmt.Printf("a + b的值为 %d\n", c)
	c = a - b
	fmt.Printf("a - b的值为 %d\n", c)
	c = a * b
	fmt.Printf("a * b的值为 %d\n", c)
	c = a / b
	fmt.Printf("a / b的值为 %d\n", c)
	a++
	fmt.Printf("a++的值为 %d\n", a)
	a = 21 // 为了方便测试，a 这里重新赋值为 21
	a--
	fmt.Printf("a--的值为 %d\n", a)
}
